package io.ooad.banking.dd.domain;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

/**
 * 机构
 * Created by yyang on 16/9/16.
 */
@Entity
@DiscriminatorValue("O")
public class Organization extends Party {

    private String licenseNumber;

    Organization() {
    }

    public Organization(String name, String licenseNumber) {
        super(name);
        this.licenseNumber = licenseNumber;
    }
}
